package clients;
import com.ruoyi.common.core.domain.R;
import model.LoginUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Rick
 * @date 2022/12/1 14:35
 */
@FeignClient("admin-user")
public interface UserClients {
    @RequestMapping("/rick/user/adminuser")
    R<LoginUser> getUser(String username);

}
